extensions: #define _POSIX_C_SOURCE for lrint
authorØyvind Kolås <pippin@gimp.org>
Tue, 31 Jul 2012 18:53:01 +0000 (20:53 +0200)
committerØyvind Kolås <pippin@gimp.org>
Tue, 31 Jul 2012 18:53:01 +0000 (20:53 +0200)
extensions/gggl-lies.c
extensions/gggl.c

index 40e3fe0f1a0063fb6b6b854ed47e5ed6fd9db0b2..c6e9d866814bdba7a3327efa5287d7beee0f7751 100644 (file)
@@ -23,6 +23,8 @@
  *  Copyright 2003, 2004, 2005 Øyvind Kolås <pippin@gimp.org>
  */
 
+#define _POSIX_C_SOURCE 200112L
+
 #include "config.h"
 #include <math.h>
 #include <string.h>
index 458de8d40202dcd9dfe3568f13b93b1a07cce548..ca455b36af19c363673d6201f074b1cde3054892 100644 (file)
@@ -21,6 +21,8 @@
  *  Copyright 2003, 2004, 2005 Øyvind Kolås <pippin@gimp.org>
  */
 
+#define _POSIX_C_SOURCE 200112L
+
 #include "config.h"
 #include <math.h>
 #include <string.h>